package com.flying.oop.encapsulation;


/**
 * @ClassName:
 * @author: flying
 * @date 2024 2024/12/12 08:52
 * @Description: 封装的使用
 */
public class EncapSulationTest {

    public static void main(String[] args) {


        User user = new User();

        user.setUserName("张三");
        user.setAge(12);
        user.setPassWord("flying1232");

        System.out.println("user = " + user);
    }
}
